import {PatientType} from "@/api/patient/types";
import {PictureType} from "@/api/picture/types";

/**
 * 图片类型
 */
export interface PictureClassType {
    /**
     * 创建时间
     */
    add_time: string;
    /**
     * ID 编号
     */
    id: number;
    /**
     * 索引排名
     */
    sort: number;
    /**
     * 类型名称
     */
    name: string;
}

export interface CreatePictureClassForm extends Pick<PictureClassType, "sort" | "name">{}

export interface EditPictureClassForm extends CreatePictureClassForm{
    id: number
}

export interface PictureClassPatientType extends PatientType{
    pictures?: PictureType[]
}